package com.example.composableexample.di


import com.example.composableexample.snackbar.SnackBarDelegate
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object ObjectModule {

    @Singleton
    @Provides
    fun provideSnackBarDelegate(): SnackBarDelegate {
        return SnackBarDelegate()
    }
}